﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusTrackerSystem.Model
{
    public class BusTime
    {
        public BusTime(string routeNumber, string destination, bool isAccessible, string timeRemaining, bool isEstimatedTime)
        {
            RouteNumber = routeNumber;
            Destination = destination;
            IsAccessible = isAccessible;
            TimeRemaining = timeRemaining;
            IsEstimatedTime = isEstimatedTime;
        }

        /// <summary>
        /// The number of the bus route - a string as it may contain letters, e.g. X25
        /// </summary>
        public string RouteNumber { get; set; }

        public string Destination { get; set; }

        public string TimeRemaining { get; set; }

        /// <summary>
        /// Whether the time is estimated from a timetable
        /// </summary>
        public bool IsEstimatedTime { get; set; }

        /// <summary>
        /// Whether the bus is wheelchair accessible or not
        /// </summary>
        public bool IsAccessible { get; set; }
    }
}
